/**
 * Created by tdzl2003 on 7/28/16.
 */


export default function (body, config,  ctx) {
  const action = ctx.request.headers['x-github-event'];
  return {
    action: action || 'unknown',
    name: body.ref,
  }
}
